﻿using System.Collections.Generic;

using VirtualTournaments.DataAccess.EntityManagers;
using VirtualTournaments.DataAccess.SqlServer.DataMappers;

namespace VirtualTournaments.DataAccess.SqlServer.EntityManagers
{
	internal sealed class JourneysManager : IJourneysManager
	{
		#region Singleton implementation

		private static JourneysManager _instance = null;
		private static readonly object _instanceLocker = new object();

		private JourneysManager()
		{
		}

		public static JourneysManager Instance
		{
			get
			{
				if (_instance == null)
				{
					lock (_instanceLocker)
					{
						if (_instance == null)
						{
							_instance = new JourneysManager();
						}
					}
				}
				return _instance;
			}
		}

		#endregion

		#region IJourneysManager Members

		#endregion

		#region IEntityManager<IJourney> Members

		public IEnumerable<Business.Tournaments.Journey> GetAll()
		{
			throw new System.NotImplementedException();
		}

		public Business.Tournaments.Journey Create()
		{
			throw new System.NotImplementedException();
		}

		public void Save(Business.Tournaments.Journey entity)
		{
			throw new System.NotImplementedException();
		}

		public void Delete(Business.Tournaments.Journey entity)
		{
			throw new System.NotImplementedException();
		}

		public void Update(Business.Tournaments.Journey entity)
		{
			throw new System.NotImplementedException();
		}

		#endregion
	}
}
